﻿
@{
    ViewData["Title"] = "DeliveryUpdateView";
    Layout = "~/Views/Home/Menu.cshtml";
}

<form class="layui-form" style="padding:20px;">
    <table>
        <h2>出库名称</h2>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">出库名称</label>
                    <div class="layui-input-inline">
                        <input type="text" name="deliveryName" autocomplete="off" id="deliveryName" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">出库编号</label>
                    <div class="layui-input-inline">
                        <input type="text" name="deliveryNumber" id="deliveryNumber" autocomplete="off" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">出库日期</label>
                    <div class="layui-input-block">
                        <input type="date" id="deliveryDate" lay-verify="Date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">订单编号</label>
                    <div class="layui-col-md6">
                        <input type="text" name="orderNumber" id="orderNumber" autocomplete="off" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-col-md6">
                        <input type="text" name="remark" id="remark" autocomplete="off" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
    </table>
    <table>
        <h2>出库明细</h2>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">成品名称</label>
                    <div class="layui-input-inline">
                        <input type="text" name="finishedProductName" autocomplete="off" id="finishedProductName" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">成品编号</label>
                    <div class="layui-input-inline">
                        <input type="text" name="finishedProductNumber" id="finishedProductNumber" autocomplete="off" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">规格型号</label>
                    <div class="layui-input-block">
                        <select name="unit" id="specification" required lay-verify="required">
                            <option value="">请选择规格</option>
                            <option value="M8">M8</option>
                            <option value="M10">M10</option>
                            <option value="M12">M12</option>
                            <option value="M14">M14</option>
                            <option value="M16">M16</option>
                            <option value="M18">M18</option>
                            <option value="M20">M20</option>

                        </select>
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">单位</label>
                    <div class="layui-col-md6">
                        <select name="unit" id="unit" required lay-verify="required">
                            <option value="">请选择单位</option>
                            <option value="个">个</option>
                            <option value="箱">箱</option>
                            <option value="件">件</option>
                            <option value="套">套</option>
                            <option value="台">台</option>
                        </select>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">生产批次号</label>
                    <div class="layui-col-md6">
                        <input type="text" name="productionNumber" id="productionNumber" autocomplete="off" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">出库数量</label>
                    <div class="layui-col-md6">
                        <input type="text" name="outboundQuantity" id="outboundQuantity" autocomplete="off" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">仓库名称</label>
                    <div class="layui-input-inline">
                        <input type="text" name="warehouseName" id="warehouseName" autocomplete="off" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">生产日期</label>
                    <div class="layui-input-inline">
                        <input type="date" id="dateTime" lay-verify="Date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="layui-form-item">
                    <label class="layui-form-label">仓库负责人</label>
                    <div class="layui-input-block">
                        <input type="text" name="warehousePerson" id="warehousePerson" autocomplete="off" placeholder="请输入" class="layui-input">
                    </div>
                </div>
            </td>
        </tr>
    </table>
    <div class="layui-input-block">
        <button class="layui-btn layui-btn-primary" type="reset">取消</button>
        <button class="layui-btn" type="button" lay-submit lay-filter="demo-ddd">修改</button>
    </div>
</form>
<script src="~/js/delivery/deliveryupdatejs.js"></script>
